﻿<%@ Page Language="C#" MasterPageFile="~/adm_vlg/Admin_master.master" AutoEventWireup="true"
    CodeFile="yourPage.aspx.cs" Inherits="adm_vlg_yourPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>Trang cá nhân </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowPaging="True"
        Width="100%" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing"
        EmptyDataText="Không có công việc nào được tạo" AllowSorting="True">
        <Columns>
            <asp:TemplateField>
                <ItemTemplate>
                    <!-- bat dau 1 dong du lieu-->
                    <div class="box">
                        <div class="box_trai">
                            <a href="#">
                               <%# Eval("TenCate") %>                               
                        </div>
                        <div class="box_giua">
                            <div class="tenCV_box">
                                <h2>
                                    <a href="#">Tôi sẽ
                                        <asp:Label ID="lblTDCV" runat="server" Text='<%# Eval("MoTa") %>'></asp:Label>
                                        chỉ với 5 $.</a></h2>
                            </div>
                            <%-- <div class="links">
                                <div class="link_nho">
                                    <a href="#">Chi tiết</a></div>
                                <div class="link_nho">
                                    <a href="#">Trạng thái</a></div>
                                <div class="link_nho">
                                    <a href="#">Promote</a></div>
                            </div>--%>
                        </div>
                        <div class="box_phai">
                            <div class="linkEdit">
                                <asp:LinkButton ID="linkEditG" runat="server" PostBackUrl='<%# Eval("idCategory","qlcongviec.aspx?op=edit&gc={0}") %>'>Edit</asp:LinkButton>
                                <asp:LinkButton ID="linkDelG" runat="server" CommandArgument='<%# Eval("idCategory") %>'
                                    OnClick="linkDelG_Click" OnClientClick='if (!confirm("Are you sure you want to delete ?")) return false;'>Delete</asp:LinkButton>
                            </div>
                        </div>
                    </div>
                    <!-- ket thuc 1 dong du lieu -->
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>
